package ar.com.mindset.geometrics_wi.colorScheme;

import ar.com.mindset.geometrics_wi.colorScheme.Legend.LegendType;

/**
 * @author http://www.mindset-designs.com
 */
public abstract class WithLegendColorScheme extends ColorScheme {

    protected Legend legend;

    public void useListLegend() {
        this.legend = new Legend(LegendType.LIST_LEGEND);
    }

    public void useListLegend(int squareSize) {
        this.useListLegend();
        this.legend.setSquareSize(squareSize);
    }
}
